//用户登录

import ajax from '../../http.js';

export const user_login = data => ajax({
	name: "user_login",
	data
});

//发送 验证码
export const get_code = data => ajax({
	name: "get_code",
	data
})

//关注/取消关注 文章作者
export const updata_follow_author = data => ajax({
	name: "updata_follow_author",
	data
})

//点赞/取消点赞
export const updata_compliments = data => ajax({
	name: "updata_compliments",
	data
})

//获取我的文章信息
export const get_my_article = data => ajax({
	name: "get_my_article",
	data
})

//用户意见反馈信息
export const updata_feedback = data => ajax({
	name: 'updata_feedback',
	data
})

// 用户更换头像
export const updata_avatar = data => ajax({
	name: 'updata_avatar',
	data
})
